var arr2=[
			{
				selected:true,//是否选中
				tltle:"评估",
				choose:[
				 "核对医嘱",
				 "询问、了解患者身体情况",
				 "了解药物使用注意事项及患者注射部位情况"
				]
			}
		];
var arr3=[
			{
				selected:true,//是否选中
				tltle:"操作前准备",
				choose:[
				 "洗手、太口罩",
				 "备齐药物",
				]
			}
		];
var arr4=[
			{
				selected:true,//是否选中
				tltle:"查对",
				choose:[
				 "铺无菌盘",
				 "查对药物",
				 "注射卡"
				]
			},
			{
				selected:false,
				tltle:"实施操作",
				choose:[
				 "铺无菌盘",
				 "查对药物",
				 "注射卡"
				]
			},
			
		];
var arr5=[
	{
		selected:true,//是否选中
		tltle:"操作后",
		choose:[
		 "整理床位，合理安置病人",
		 "正确处理用物",
		 "洗手脱口罩、记录"
		]
	}
];
		
		
var main = new Vue({
	el: '#main',
	data: {
		formstyle:1,//答题状态
		question:[
			{
				selected:true,//是否选中
				tltle:"上门前准备",
				choose:[
				 "仪表端庄，服装整洁",
				 "态度和蔼，语言规范",
				]
			}
		],
		checkall:false,
	},
	methods:{
		all_check:function(){
			for (var i=0;i<this.question.length;i++) {
				this.question[i].selected=true;
			}
			this.checkall=true;
		},
		next_step:function(){
			this.formstyle += 1;
			if(this.formstyle == 2){
				this.question=arr2;
			}else if(this.formstyle == 3){
				this.question=arr3;
			}else if(this.formstyle == 4){
				this.question=arr4;
			}else if(this.formstyle == 5){
				this.question=arr5;
			}
		}
	}
})